package basis.ioc.setterDI;

import basis.ioc.IVehicle;

public class BMWDriver implements Driver {
    private IVehicle vehicle;
    @Override
    public void setVehicle(IVehicle v) {
        this.vehicle = v;
    }

    @Override
    public void move() {
        vehicle.moveForward(300);
    }
}
